package com.virgo.demo.cms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.virgo.mysql.domain.BaseDo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("article")
public class ArticleDo extends BaseDo {

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@TableField("cate_code")
	private String cateCode;

	@TableField("name")
	private String name;

	@TableField("author")
	private String author;

	@TableField("img")
	private String img;

	@TableField("brief")
	private String brief;

	@TableField("seo_keywords")
	private String seoKeywords;

	@TableField("seo_description")
	private String seoDescription;

	@TableField("status")
	private Integer status;

	@TableField("sort")
	private Integer sort;
}